package org.komarichin.beans;

import java.io.Serializable;

/**
 * User: Mykhaylo Komarichyn
 * Date: 17.03.2010
 * Time: 11:41:02
 */
public interface IGenericEntity<PK> extends Serializable {
    /**
     * @return publishing id
     */
    PK getId();

    /**
     * @param id publishing id
     */
    void setId(PK id);
}
